package winOrDie.Net.Client;

import java.util.EventObject;

public class WoD_Client_ControlChannel_Event extends EventObject {

	public static final int JOIN_GAME_OK = 1;
	public static final int JOIN_GAME_KO = 2;
	
	public static final int SELECT_SIDE_OK = 3;
	public static final int SELECT_SIDE_KO = 4;
	public static final int SELECT_SIDE_INFO = 5;
	
	public static final int SELECT_ROL_OK = 6;
	public static final int SELECT_ROL_KO = 7;
	public static final int SELECT_ROL_INFO = 8;
	
	public static final int CHAT = 9;
	
	public static final int READY_TO_GO = 10;
	
	/**
	 * P2P Layer events
	 */
	public static final int P2P_I_AM_ROOT = 51;

	
	public static final int CLIENT_ERROR = 99;
	
	
	
	
	
	private int event_Type = -1;
	private Object data = null;

	public int getEvent_Type() {
		return event_Type;
	}

	public void setEvent_Type(int eventType) {
		event_Type = eventType;
	}

	public Object getData() {
		return data;
	}

	public void setData(Object data) {
		this.data = data;
	}

	public WoD_Client_ControlChannel_Event(Object source) {
		super(source);
	}
	
}
